package dao;

import dao.PrintDao;
import entity.Print;
import org.springframework.stereotype.Repository;

@Repository("printDaoInk")
public class PrintDaoInkImpl implements PrintDao {
    @Override
    public int add(Print print) {
        System.out.println("您正在使用: " + print.getInk().getType() + "墨盒,和: " + print.getPaper().getSize() + "纸张打印内容");
        return 1;
    }
}
